import React from 'react';
import DragItem from '../DragItem';

export default function index(props) {
  const { data } = props;
  return (
    <div>
      {data.map((d) => (
        <DragItem key={d.type} data={d} />
      ))}
    </div>
  );
}
